package com.example.siyun.service.impl.orderserviceImpl;

import com.example.siyun.mapper.ordermapper.RefundMapper;
import com.example.siyun.pojo.SyUserOrder;
import com.example.siyun.service.orderservice.RefundService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
/*
 * 退货列表
 *@author：王浩宇
 *@Date: 2022-10-12
 * */
@Service
public class RefundServiceImpl implements RefundService {

    @Autowired
    private RefundMapper refundMapper;

    @Override
    public List<SyUserOrder> Get() {
        return refundMapper.Get();
    }

    @Override
    public List<SyUserOrder> Select(String orderSource, String orderStatus, String orderPaymentChannel) {
        return refundMapper.Select(orderSource,orderStatus,orderPaymentChannel);
    }

    @Override
    public List<SyUserOrder> getReturnRequest() {
        return refundMapper.getReturnRequest();
    }

    @Override
    public List<SyUserOrder> selectReturnRequest(String orderSource, String orderStatus, String orderPaymentChannel) {
        return refundMapper.selectReturnRequest(orderSource,orderStatus,orderPaymentChannel);
    }

    @Override
    public List<SyUserOrder> getRefuse() {
        return refundMapper.getRefuse();
    }

    @Override
    public List<SyUserOrder> selectRefuse(String orderSource, String orderStatus, String orderPaymentChannel) {
        return refundMapper.selectRefuse(orderSource,orderStatus,orderPaymentChannel);
    }

    @Override
    public List<SyUserOrder> getReturning() {
        return refundMapper.getReturning();
    }

    @Override
    public List<SyUserOrder> selectReturning(String orderSource, String orderStatus, String orderPaymentChannel) {
        return refundMapper.selectReturning(orderSource,orderStatus,orderPaymentChannel);
    }

    @Override
    public List<SyUserOrder> getReturned() {
        return refundMapper.getReturned();
    }

    @Override
    public List<SyUserOrder> selectReturned(String orderSource, String orderStatus, String orderPaymentChannel) {
        return refundMapper.selectReturned(orderSource,orderStatus,orderPaymentChannel);
    }

    @Override
    public int Number() {
        return refundMapper.Number();
    }

    @Override
    public int numberReturnRequest() {
        return refundMapper.numberReturnRequest();
    }

    @Override
    public int numberRefuse() {
        return refundMapper.numberRefuse();
    }

    @Override
    public int numberReturning() {
        return refundMapper.numberReturning();
    }

    @Override
    public int numberReturned() {
        return refundMapper.numberReturned();
    }
}
